package com.zjl.controller;

import com.zjl.service.WalletRecordService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;


/**
 * @Author EternalPain
 * @Date 2023/1/31 18:35
 * @Version 1.0
 */
@RestController
@RequestMapping("/record")
public class WalletRecordController {
    @Resource
    public WalletRecordService recordService;

    /**
     * 查询用户钱包金额变动明细
     */
    @GetMapping("/findRecord")
    public String findRecord() {
        return recordService.findRecord(1);
    }

}
